package org.xiaoyu.rpc.remoting.packet;


import org.xiaoyu.rpc.seralization.support.SerializerAlgorithm;

import java.io.Serializable;

/**
 * Created By Have
 * 2021/7/5 13:41
 */
public interface Packet extends Serializable {
    int getType();
    default int getSerializerType() {
        return SerializerAlgorithm.KRYO.getType();
    }
}
